package com.ruoyi.common.core.exception;

import lombok.Getter;

/**
 * 内部认证异常
 *
 * @author ruoyi
 */
@Getter
public class UserAuthException extends RuntimeException {

  private static final long serialVersionUID = 1L;
  // 错误码
  private final Integer code;

  public UserAuthException(Integer code, String message) {
    super(message);
    this.code = code;
  }
}
